WP_Defender\Component\Http\Remote_Address\Remote_Address S

Total Complexity 27
Dependencies 1
Dependents 1
Total lines 237
Lines of code 85
Logical lines of code 47
Comment lines 111
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
get_ip_address_from_proxy()
A
50 10 28
is_ip_in_trusted_proxy_preset()
S
55 7 20
get_ip_address()
S
69 2 7
normalize_proxy_header()
S
66 2 8
set_use_proxy()
S
77 1 4
get_use_proxy()
S
82 1 3
get_trusted_proxies()
S
79 1 3
set_trusted_proxies()
S
77 1 4
set_proxy_header()
S
76 1 4
set_trusted_proxy_preset()
S
77 1 4